package com.chao.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chao.entity.Department;
import com.chao.entity.Major;


public interface MajorService extends IService<Major> {

    Page<Major> selectAll(Page<Major> page);

    int addOfPrimary(Major major);

}
